package cn.yangliu.constant;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/**
 * the type of com-tool
 *
 * <p>
 * .
 *
 * @author 杨柳
 * @date 2021-10-04
 */
public class Constants {


    public static final String FILE_WATCH_INTERVAL = "FILE_WATCH_INTERVAL";

    public static final String USER_HOME = System.getProperty("user.home");
    public static final String LAST_OPEN_DIR = "LAST_OPEN_DIR";
    public static final String EXAMPLE = "example.xlsx";

    public static final Executor POOL = new ThreadPoolExecutor(10, 10, 0L, TimeUnit.MILLISECONDS,
            new LinkedBlockingQueue<>(), Executors.defaultThreadFactory());
}
